<div class="n-hd">
	<div class="n-hd-div">
		<div class="left hd-logo"> <a href="__WEBURL__"><img class="b-header__logo" src="__IMAGES__/yf_logo.png"></a></div>
		<div class="left hd-dv">
			<div class="hd-tb">
				<ul class="tb-ul">
					<if condition="$userid neq ''">
					<li class="n-us-li">
						<span style="float:left;"><a href="__WEBURL__/u/{$userinfo.openuid}">{$userinfo.nickname}</a></span>
						<a  href="#" class="n-user"></a>
						<if condition="$sysmsgnum neq 0"><div class="tb-ing-xx">{$sysmsgnum}</div>
						<a href="__WEBURL__/user/index/message" style=" margin-right:20px;">消息</a>
						<else/>
						<a href="__WEBURL__/user/index/message">消息</a>
						</if>
						<a  href="#" class="n-user"></a>
						<a href="{:U('/user/index/')}">会员中心</a>
						<a  href="#" class="n-user"></a>
						<a href="__WEBURL__/user/bake/worksadd">发布作品</a>
						<a  href="#" class="n-user"></a>
						<a href="{:U('/user/index/logout')}">退出</a>
					</li>
					<else/>
					<li>
						<a href="{:U('/user/login/login?type=qq')}"><img class="pic_mid" src="__IMAGES__/icon_top_qq.png"> QQ登入</a>
						<a href="{:U('/user/login/login?type=sina')}"><img class="pic_mid" src="__IMAGES__/icon_top_weibo.png"> 微博登入</a>
						<a href="__WEBURL__/user/login">登入</a>
						<a href="__WEBURL__/user/login/register">注册</a>
					</li>
					</if>
					<div style="clear:both;"></div>
				</ul>
			</div>
			<div class="nd-nv">
				<div class="left n-nav">
					<ul>
						<foreach name="nav" item="nv">
						<if condition="$key eq 'dongtai'">
							<li class="two-nacvLev">
								<i class="nv-i"></i>
								<a href="__WEBURL__/{$nv.link}" class="{$nv.act} nv-dn">{$nv.title}</a>
								<div class="two-level">
									<div class="level-bag"></div>
									<foreach name="twoNaves" item="val">
									<div class="two-level-ul"><a href="/index/category/cfid/{$val.cateid}">{$val.catename}</a></div>
									<div class="two-level-ul">
										<foreach name="val.sod" item="on">
										<a href="/category/{$on.cateid}" class="two_alv">{$on.catename}</a>
										</foreach>
										<div style="clear:both;"></div>
									</div>
									</foreach>
								</div>
							</li>
							
						<else/>
							<li><a href="__WEBURL__/{$nv.link}" class="{$nv.act}">{$nv.title}</a></li>
						</if>
						
						</foreach>
						
						
					</ul>
				</div>
				<div class="right n-sh">
					<input type="hidden" id="search_type" value="1" />
					<input type="text" class="n-sh-plr" id="keywords" value="搜索作品" /><input type="button" class="n-sh-sbn b_search__btn" />
				</div>
				<div style="clear:both;"></div>
			</div>
		</div>
	</div>
</div>